package com.situ.dao;

import com.situ.bean.Order;
import com.situ.bean.Orderinfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDao {
   void addorderinfo(Orderinfo orderinfo);
   boolean addorder(Order order);
   Order getorder(Order order);

   boolean updateorder(Order order);

     List<Order> getorderbyid(int userid);
     int paymentsuccess(Order order);
      Order getpayorder(Order order);
     List<Order>  getUnpaidOrders();


   boolean updateOrders(Order order);





}
